scrollbar: Add property annotations
authorMatthias Clasen <mclasen@redhat.com>
Thu, 25 Feb 2021 02:58:11 +0000 (21:58 -0500)
committerEmmanuele Bassi <ebassi@gnome.org>
Thu, 11 Mar 2021 16:37:32 +0000 (16:37 +0000)
Connect properties, getters, and setters with annotations.

gtk/gtkscrollbar.c

index 9151713babf7c75cdbbc19cc1efecfaace98084e..a5c15ce90bcd7a5f6b86f0a782807eabd4e8f575 100644 (file)
@@ -215,7 +215,7 @@ gtk_scrollbar_class_init (GtkScrollbarClass *class)
   object_class->dispose = gtk_scrollbar_dispose;
 
   /**
-   * GtkScrollbar:adjustment:
+   * GtkScrollbar:adjustment: (attributes org.gtk.Property.get=gtk_scrollbar_get_adjustment org.gtk.Property.set=gtk_scrollbar_set_adjustment)
    *
    * The `GtkAdjustment` controlled by this scrollbar.
    */
@@ -299,7 +299,7 @@ gtk_scrollbar_adjustment_value_changed (GtkAdjustment *adjustment,
 }
 
 /**
- * gtk_scrollbar_set_adjustment:
+ * gtk_scrollbar_set_adjustment: (attributes org.gtk.Method.set_property=adjustment)
  * @self: a `GtkScrollbar`
  * @adjustment: (nullable): the adjustment to set
  *
@@ -342,7 +342,7 @@ gtk_scrollbar_set_adjustment (GtkScrollbar  *self,
 }
 
 /**
- * gtk_scrollbar_get_adjustment:
+ * gtk_scrollbar_get_adjustment: (attributes org.gtk.Method.get_property=adjustment)
  * @self: a `GtkScrollbar`
  *
  * Returns the scrollbar's adjustment.